/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication1;

import org.eclipse.swt.events.PaintEvent;

/** the Robot interface - from slides
 *
 * @author Oren
 */
public interface Robot extends Comparable<Robot>{
    public void setStartingPosition(Position p);
    public void move(int speed,int heading);
    public void stop();
    public Position getCurrentPosition();
    public void act();
    public String getName();
    public void setName(String name);
    public int getDistance();
    public int compareTo(Robot arg0);
    public void setPre(Position temp);
    public Position getStartPosition();
    public int getSpeedLimit();
    public int getHeadingLimit();
    public int getHeading();
    public boolean pickupBox(Box b);
    public boolean putdownBox();
    public String getType();
    public void setType(String type);
    public void setAssign();
    public boolean getAssign();
    public void paint(PaintEvent e);
}

// TODO
// negative in the numbers
// . files
// fix get distance
// add help command
//

